Algorithmes compensés en arithmétique flottante : précision, validation, performances. (Compensated algorithms in floating point arithmetic : accuracy, validation, performances)

نویسنده

  • Nicolas Louvet
چکیده

Rounding error may totally corrupt the result of a oating point computation.How to improve and validate the accuracy of a oating point computation, without largecomputing time overheads ? We contribute to this question considering two examples:polynomial evaluation and linear triangular system solving. In both cases we use thecompensation of the rounding errors to improve the accuracy of the computed results.1) Improving the accuracy. We propose a compensated Horner scheme that computespolynomial evaluation with the same accuracy as the classic Horner algorithm performed intwice the working precision. Generalizing this algorithm, we present another compensatedversion of the Horner scheme simulating K times the working precision (K ≥ 2). We alsoshow how to compensate the rounding errors generated by the substitution algorithm fortriangular system solving.2) Validating the computed result. We show how to validate the quality of the com-pensated polynomial evaluation. We propose a method to compute an a posteriori errorbound together with the compensated result. This error bound is computed using onlybasic oating point operations to ensure portability and e ciency of the method.3) Performances of compensated algorithms. Our computing time measures show theinterest of compensated algorithms compared to other software solutions that provide thesame output accuracy. We also justify such good practical performances thanks to a de-tailed study of the instruction-level parallelism they contain.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Finite Precision Elementary Geometric Constructions

In this paper we propose a new approach for the robust computation of the nearest integer lattice points of some specific geometric constructions (intersection of two planar segments, circumcenter of a planar triangle and of a spatial tethraedron). Given that the data and the final results of the geometric constructions are stored using single precision floating point representation (typically ...

متن کامل

Différentiation automatique et formes de Taylor en analyse statique de programmes numériques

Résumé Des travaux récents sur l’analyse statique de programmes numériques ont montré que les techniques d’interprétation abstraite étaient adaptées à la validation de la précision des calculs en arithmétique flottante. L’utilisation des intervalles comme domaine numérique, même avec des méthodes de subdivision, induit une sur-approximation des résultats en particulier par l’existence de l’effe...

متن کامل

Outils pour une comparaison sans a priori entre arithmétique logarithmique et arithmétique flottante

This paper describes a library of parameterized arithmetic operators for manipulating high-dynamic numbers on FPGA. It support both floating-point and logarithmic representations. Along with its direct interest, that library allow application-specific comparisons of those two number representation systems. It is unbiased in the sense that it tends to reflect the state-of-the-art for both number...

متن کامل

Options for Denormal Representation in Logarithmic Arithmetic

Economical hardware often uses a FiXed-point Number System (FXNS), whose constant absolute precision is acceptable for many signal-processing algorithms. The almost-constant relative precision of the more expensive Floating-Point (FP) number system simplifies design, for example, by eliminating worries about FXNS overflow because the range of FP is much larger than FXNS for the same wordsize; h...

متن کامل

Compromis précision-rappel dans l'évaluation des performances

Résumé. Dans de nombreux problèmes d’apprentissage automatique la performance des algorithmes est évaluée à l’aide des mesures précision et rappel. Or ces deux mesures peuvent avoir une importance très différente en fonction du contexte. Dans cet article nous étudions le comportement des principaux indices de performance en fonction du couple précision-rappel. Nous proposons un nouvel outil de ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2007